package com.ferrlo.model;

import java.sql.Timestamp;

/**
 * UserMsg entity. @author MyEclipse Persistence Tools
 */

public class UserMsg implements java.io.Serializable {

	// Fields

	private String umId;
	private String sendId;
	private String umMsg;
	private Timestamp umTime;
	private Short umIsNew;
	private String receiveId;

	// Constructors

	/** default constructor */
	public UserMsg() {
	}

	/** minimal constructor */
	public UserMsg(String umId, Timestamp umTime) {
		this.umId = umId;
		this.umTime = umTime;
	}

	/** full constructor */
	public UserMsg(String umId, String sendId, String umMsg, Timestamp umTime,
			Short umIsNew, String receiveId) {
		this.umId = umId;
		this.sendId = sendId;
		this.umMsg = umMsg;
		this.umTime = umTime;
		this.umIsNew = umIsNew;
		this.receiveId = receiveId;
	}

	// Property accessors

	public String getUmId() {
		return this.umId;
	}

	public void setUmId(String umId) {
		this.umId = umId;
	}

	public String getSendId() {
		return this.sendId;
	}

	public void setSendId(String sendId) {
		this.sendId = sendId;
	}

	public String getUmMsg() {
		return this.umMsg;
	}

	public void setUmMsg(String umMsg) {
		this.umMsg = umMsg;
	}

	public Timestamp getUmTime() {
		return this.umTime;
	}

	public void setUmTime(Timestamp umTime) {
		this.umTime = umTime;
	}

	public Short getUmIsNew() {
		return this.umIsNew;
	}

	public void setUmIsNew(Short umIsNew) {
		this.umIsNew = umIsNew;
	}

	public String getReceiveId() {
		return this.receiveId;
	}

	public void setReceiveId(String receiveId) {
		this.receiveId = receiveId;
	}

}